package com.xq.extends4feature;

public class Test2 {
    public static void main(String[] args) {
        Zi  z = new Zi();
        z.show();
    }
}

class Fu {
    String name = "fu";
}

class Zi extends Fu {
    String name = "zi";

    public void show() {
        String name = "show";
        System.out.println(name); // show
        System.out.println(this.name); // zi
        System.out.println(super.name); // fu
    }
}
